home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8972 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  647 b 

  1. Path: news.edf.fr!cln46ib!didier
  2. From: didier@cln46ib (Didier BOLF)
  3. Newsgroups: comp.lang.c++
  4. Subject: To find the class of an object ??
  5. Date: 27 Feb 1996 17:22:46 GMT
  6. Organization: Direction des Etudes et Recherches EDF
  7. Message-ID: <4gvel6$4vg@cf01>
  8. NNTP-Posting-Host: cln46ib.der.edf.fr
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12. Hi,
  13.  
  14. My problem:
  15.  
  16. I have a class A and a class B. The class B inherit the class A.
  17. I have too: A tab[MAX]; 
  18. In tab, I put objets of class A or B.
  19.  
  20. How compare two objects of tab to know if they are of the same class ??
  21. and which class they belong to ??
  22.  
  23. Thanks to reply..
  24.  
  25. Didier.
  26. Email: didier@cln46fw.der.edf.fr
  27.  
  28.